package yf.mall.entity;


import lombok.Setter;
import lombok.Getter;
import java.io.Serializable;
import java.util.Date;


/**
 * 产品库存实体
 * 表名 mall_store
 *
 * @author hxf
 * @email 505860922@qq.com
 * @date Sun Sep 29 09:50:50 CST 2019
 */
@Setter
@Getter
public class MallStoreEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    //
    private Long id;
        //用户ID
    private Long userId;
        //产品ID
    private Long goodsId;
        //规格名称
    private String skuName;
        //数量
    private Integer quantity;
        //锁定库存
    private Integer lockQuantity;
    
    public MallStoreEntity(){

    }

    public MallStoreEntity(Long userId, Long goodsId, String skuName, Integer quantity, Integer lockQuantity) {
        this.userId = userId;
        this.goodsId = goodsId;
        this.skuName = skuName;
        this.quantity = quantity;
        this.lockQuantity = lockQuantity;
    }
}
